package cn.littlehx.myweb.service;

import cn.littlehx.myweb.common.MailRequest;

/**
 * 发送邮件的接口
 */
public interface ISendMailService {
    /**
     * 简单文本邮件
     *
     * @param mailRequest
     * @return
     */
    void sendSimpleMail(MailRequest mailRequest);


    /**
     * Html格式邮件,可带附件
     *
     * @param mailRequest
     * @return
     */
    void sendHtmlMail(MailRequest mailRequest) throws Exception;
}
